package vip.finance.makemoney.apiSpider.snowball;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 雪球api
 *
 * @author 杨滨
 * @date 2023年02月03日
 */
@FeignClient(name = "snowApi", url = "${feign.rpc.snow_api_url}")
public interface SnowApi {
    //筛选列表
    @GetMapping(value = "/service/screener/screen")
    SnowScreenResult screenerScreen(@RequestParam("category") String category,
                                    @RequestParam("indcode") String indcode,//行业
                                    @RequestParam("areacode") String areacode,//地区
                                    @RequestParam("order_by") String order_by,
                                    @RequestParam("follow") String follow,
                                    @RequestParam("page") Integer page,
                                    @RequestParam("size") Integer size,
                                    @RequestParam("only_count") Integer only_count);
    //AH股
//    service/v5/stock/ah/compare?page=1&order=desc&orderby=premium&order_by=premium&size=30&_=1677235298551
}
